package com.tjc.policytree;

/**
 * @Author: tjc
 * @description
 * @Date Created in 22:55 2022-06-15
 * 决策处理 由P生成R
 */
public interface StrategyHandler<P, R> {
    StrategyHandler DEFAULT = t -> null;

    R apply(P condition);
}
